/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.migracion.dataaccess;

/**
 *
 * @author stevenziggiz
 */
public class StringInsert {
    private String insert = "";

    public StringInsert() {
    }

    public void addData(Object value) {
        if (!insert.equals("")) {
            insert += ",";
        }
        if (value instanceof String) {
            insert += "'" + value + "'";
        } else {
            insert += "" + value;
        }
    }    

    /**
     * @return the insert
     */
    public String getInsert() {
        return insert;
    }

}
